home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / text1 / wsuipa / ipaman.tex (.txt) < prev    next >
Texinfo Document  |  1991-10-23  |  29KB  |  587 lines

  1. \input ipamacs
  2. \asisformat{\skipbefore{6pt}
  3.             \everyasis{\leftindent{.5in}\rightindent{.5in}\tt}
  4.             \skipafter{6pt}}
  5. \font\smokefont=wsuipa17
  6. \newbox\tagbox
  7. \setbox\tagbox=\hbox{\tenpt\bf Pullum \&\ Ladusaw name:}
  8. \labelformat{\skipbefore{4pt}
  9.              \labelwidth{\wd\tagbox}
  10.              \gutter{1em}
  11.              \everylabel{\tenpt\bf}
  12. \rhf{\oddpages{\twelvept\line{\lft{{\it WSUIPA Users Guide}}\rt{\pn}}\vs{\bl}}
  13.      \evenpages{\twelvept\line{\lft{\pn}\rt{{\it WSUIPA Users Guide}}}\vs{\bl}}}
  14. \font\mf=manfnt
  15. \def\deg{$^\circ$}
  16. \def\meta{{\mf METAFONT}}
  17. \def\wsu{{\tenpt WSUIPA}}
  18. \def\ipam{{\tenpt IPAMACS}}
  19. \def\PL{{\it Phonetic Symbol Guide}}
  20. \def\pos#1{\vs{10pt}\hrule width 1in\vs{1pt}\hrule width 1in
  21.     \noindent\label{\hfill\tenbf WSUIPA Char' Position:}\rm #1\par}
  22. \def\pl#1{\noindent\label{\hfill\tenbf Pullum \&\ Ladusaw name:}\rm #1\par}
  23. \def\mac#1{\noindent\label{\hfill\tenbf IPAMACS Name:}\tt\char'134 #1\par}
  24. \def\smoke#1{\noindent\label{\hfill\tenbf IPA Character:}
  25. \smokefont\char#1\par}
  26. \sfs{cm14}{fourteenpt}{default}
  27. \fourteenpt
  28. \cl{\bd Using the WSU International Phonetic Alphabet}
  29. \cl{January 9, 1990}
  30. \twelvept
  31. \subheada{Preface}
  32. This users guide is intended to serve as a help and supplement to the
  33. Washington State University International Phonetic Alphabet (\wsu) fonts.
  34. It is not intended to be a manual on \TeX, linguistics, or the correct usage of
  35. the characters, accents and diacritics contained within the font.
  36. It is assumed that the user is familiar with the version of \TeX\ he or she is
  37. using and with the characters contained within the \wsu\ font.
  38. Because the uses for a phonetic alphabet font are probably as varied as the
  39. many disciplines which use the characters, this guide is intended to merely
  40. show some of the most common ways of using the \wsu\ font. Surely each person
  41. who implements the font will develop his or her own favorite way of working with
  42. using the font.
  43. The principal
  44. source of information regarding the characters and their shapes has come from
  45. sources within the linguistic field---most
  46. notably, Geoffrey K. Pullum and William A. Ladusaw, whose book, {\it Phonetic
  47. Symbol Guide} was used extensively.
  48. The \PL\  not only lists the International Phonetic Alphabet (IPA) characters
  49. and diacritics, it also
  50. gives an enlarged illustration of each character which shows its baseline,
  51. height, depth and x-height. These character illustrations were invaluable
  52. in the design of the \wsu\ \meta\ characters.
  53. Several other people involved
  54. in the wonderful world of linguistics also aided in the design of the \wsu\
  55. font. Their input concerning everything
  56. from character shape, to placement within the font, to determining which
  57. characters should be included, is gratefully acknowledged. I would especially
  58. like to thank Karen Mullen, Associate Professor of English, University of
  59. Louisville, Louisville, Kentucky.  She tested, used the \wsu\ fonts, and took
  60. the time to give several suggestions and recommendations that have improved
  61. the font. Also, Christina A. Thiele, Managing Director, Journal Production
  62.  Centre,
  63. Carleton University, Ottawa, Ontario, who not only provided a wealth
  64. of phonetic information, but also a wealth of encouragement throughout
  65. the entire font designing process.
  66. Included with the \wsu\ fonts are:
  67. \listbegin
  68. \lil1
  69. The basic \wsu\ font which contains 128 phonetic characters
  70. and/or diacritics in six different point sizes (8,
  71. 9, 10, 11, 12 and 17) and in
  72. three typefaces (roman, slanted and bold extended).
  73. \lil1 Each size and typeface includes a TFM (\TeX\ Font Metric)
  74. file and its related GF, PK or PXL file.
  75. \lil1 A macro package (\ipam.TEX) for use with the \wsu\ font, and
  76. \lil1 the {\it WSUIPA Font User's Guide}.
  77. \listend
  78. This guide is divided into three main sections: 1) an introduction to the \wsu\
  79. font,
  80. 2) a description of the font layout and the characters included in the font
  81. and 3) some \TeX niques for use with the \wsu\  fonts.
  82. Although the \wsu\ fonts are written in \meta , the user does not need
  83. experience with or knowledge of \meta\ to use the font. However, at least a
  84. beginning understanding of \TeX\ and the use of fonts in the \TeX\ environment
  85. {\it is} necessary. For information about either \TeX\ or font usage in \TeX ,
  86. see {\it The \TeX book} by Donald Knuth.
  87. \subheada{Introduction to the WSUIPA Font}
  88. The \wsu\  fonts are written in \meta\ and use the same font parameter values
  89. as their Computer Modern (CM) counterparts (cmr and cmbx). In fact, while
  90. designing the character shapes, the computer modern code was left intact or
  91. modified only slightly whenever possible. Therefore, the \wsu\  fonts
  92. are totally compatible with computer modern fonts---the design and shape
  93. of the characters are computer modern wherever possible. For the characters
  94. that are drastically different from any computer modern characters or symbols,
  95. such as the ``Gamma,'' ``Baby Gamma'' and the ``Esh,'' Pullum and Ladusaw's
  96. {\it Phonetic Symbol Guide} was used as the character design
  97. standard.
  98. The \wsu\  fonts are obviously not an exhaustive collection of phonetic or
  99. even recognized International Phonetic Alphabet characters. The characters
  100. included in the \wsu\  font were chosen either because they were listed
  101. as a ``major'' entry in Pullum and Ladusaw's {\it Guide\/},
  102. or because of the recommendations from
  103. various people with an interest in the font.
  104. The {\it Guide} contains what it classifies as ``major'' and ``minor''
  105. characters, based upon whether the symbol is an officially recognized IPA
  106. character or is determined by Pullum and Ladusaw
  107. to be a standard symbol in current American
  108. transcriptual practice. The {\it Guide}
  109. lists 78 ``major'' entries which are not easily
  110. attainable in the CM fonts. All 78 of these characters are included in the
  111. \wsu\  font, along with 50 ``minor'' entries from the {\it Guide}.
  112. The selection of which
  113. ``minor'' entries to include was based on information and requests from
  114. various phoneticians and linguists who contacted WSU during the beginning
  115. stages of the creation of the font.
  116. \subheada{The Layout of the WSUIPA Font}
  117. The character-grouping pattern followed by Pullum and Ladusaw in their
  118. {\it Guide} was adopted as the basis
  119. for the \wsu\ font layout. The characters
  120. are grouped together according to shape rather than usage. Therefore,
  121. the ``a'' shapes occupy
  122. the first positions: '00 through '04, ``b'' shapes are in positions '05
  123. through '11 and so forth. The accents and diacritics follow the character
  124. shapes and are in the last positions in the font. This approach was taken
  125. because under it was assumed that under most circumstances,
  126. the user would most likely be accessing the characters with the use of macros
  127. rather than by typing large portions of entirely phonetic text.
  128. Aside from keeping like shapes together, the positioning of the
  129. \wsu\  font was fairly arbitrary.
  130. \subheada{Character Description}
  131. Within this section each of the \wsu\  characters are shown in a \meta\
  132. ``smoke mode'' proof. The octal character position is indicated, along with the
  133. corresponding macro name in \ipam, and the
  134. name of the character given in P\&L.
  135. Only the roman characters will be illustrated since the shapes of the slanted
  136. and bold extended are the same.
  137. There are several Greek characters included in the \wsu\ font, and initially
  138. it may appear these are merely copies of the corresponding CM Greek characters.
  139. That is true with one very important distinction: the \wsu\ Greek characters
  140. included are not italic. All the lowercase Greek characters included in
  141. the CM fonts are italic which makes them unsuitable for some situations in
  142. phonetics where a non-italic Greek character is essential.
  143. \newpage
  144. \raggedbottom
  145. \vbox{ \pos{'00}\mac{inva}\pl{turned a}\smoke{'00}}
  146. \vbox{ \pos{'01}\mac{scripta}\pl{script a}\smoke{'01}}
  147. \vbox{ \pos{'02}\mac{nialpha}\pl{lowercase non-italic alpha}\smoke{'02}
  148. \vbox{\pos{'03}\mac{invscripta}\pl{turned script a}\smoke{'03}}
  149. \vbox{\pos{'04}\mac{invv}\pl{inverted v}\smoke{'04}}
  150. \vbox{\pos{'05}\mac{crossb}\pl{crossed b}\smoke{'05}}
  151. \vbox{\pos{'06}\mac{barb}\pl{barred b}\smoke{'06}}
  152. \vbox{\pos{'07}\mac{slashb}\pl{slashed b}\smoke{'07}}
  153. \vbox{\pos{'10}\mac{hookb}\pl{hooktop b}\smoke{'10}}
  154. \vbox{\pos{'11}\mac{nibeta}\pl{non-italic lowercase beta}\smoke{'11}}
  155. \vbox{\pos{'12}\mac{slashc}\pl{slashed c}\smoke{'12}}
  156. \vbox{\pos{'13}\mac{curlyc}\pl{curly-tail c}\smoke{'13}}
  157. \vbox{\pos{'14}\mac{clickc}\pl{stretched c}\smoke{'14}}
  158. \vbox{\pos{'15}\mac{crossd}\pl{crossed d}\smoke{'15}}
  159. \vbox{\pos{'16}\mac{bard}\pl{barred d}\smoke{'16}}
  160. \vbox{\pos{'17}\mac{slashd}\pl{slashed d}\smoke{'17}}
  161. \vbox{\pos{'20}\mac{hookd}\pl{hooktop d}\smoke{'20}}
  162. \vbox{\pos{'21}\mac{taild}\pl{right-tail d}\smoke{'21}}
  163. \vbox{\pos{'22}\mac{dz}\pl{d-yogh ligature}\smoke{'22}}
  164. \vbox{\pos{'23}\mac{eth}\pl{eth}\smoke{'23}}
  165. \vbox{\pos{'24}\mac{scd}\pl{small capital D}\smoke{'24}}
  166. \vbox{\pos{'25}\mac{schwa}\pl{schwa}\smoke{'25}}
  167. \vbox{\pos{'26}\mac{er}\pl{right-hook schwa}\smoke{'26}}
  168. \vbox{\pos{'27}\mac{reve}\pl{reversed e}\smoke{'27}}
  169. \vbox{\pos{'30}\mac{niepsilon}\pl{non-italic greek epsilon}\smoke{'30}}
  170. \vbox{\pos{'31}\mac{revepsilon}\pl{reversed non-italic epsilon}\smoke{'31}}
  171. \vbox{\pos{'32}\mac{hookrevepsilon}\pl{right-hook reversed non-italic epsilon}
  172. \smoke{'32}}
  173. \vbox{\pos{'33}\mac{closedrevepsilon}\pl{closed reversed non-italic epsilon}
  174. \smoke{'33}}
  175. \vbox{\pos{'34}\mac{scriptg}\pl{lowercase variant g}\smoke{'34}}
  176. \vbox{\pos{'35}\mac{hookg}\pl{hooktop g}\smoke{'35}}
  177. \vbox{\pos{'36}\mac{scg}\pl{small capital G}\smoke{'36}}
  178. \vbox{\pos{'37}\mac{nigamma}\pl{non-italic gamma}\smoke{'37}}
  179. \vbox{\pos{'40}\mac{ipagamma}\pl{IPA Gamma}\smoke{'40}}
  180. \vbox{\pos{'41}\mac{babygamma}\pl{baby gamma}\smoke{'41}}
  181. \vbox{\pos{'42}\mac{hv}\pl{h-v ligature}\smoke{'42}}
  182. \vbox{\pos{'43}\mac{crossh}\pl{crossed h}\smoke{'43}}
  183. \vbox{\pos{'44}\mac{hookg}\pl{hooktop g}\smoke{'44}}
  184. \vbox{\pos{'45}\mac{hookheng}\pl{hooktop heng}\smoke{'45}}
  185. \vbox{\pos{'46}\mac{invh}\pl{turned h}\smoke{'46}}
  186. \vbox{\pos{'47}\mac{bari}\pl{barred i}\smoke{'47}}
  187. \vbox{\pos{'50}\mac{dlbari}\pl{barred dotless i}\smoke{'50}}
  188. \vbox{\pos{'51}\mac{niiota}\pl{non-italic greek iota}\smoke{'51}}
  189. \vbox{\pos{'52}\mac{sci}\pl{small capital I}\smoke{'52}}
  190. \vbox{\pos{'53}\mac{barsci}\pl{barred small capital I}\smoke{'53}}
  191. \vbox{\pos{'54}\mac{invf}\pl{barred dotless j}\smoke{'54}}
  192. \vbox{\pos{'55}\mac{tildel}\pl{l with tilde}\smoke{'55}}
  193. \vbox{\pos{'56}\mac{barl}\pl{barred l}\smoke{'56}}
  194. \vbox{\pos{'57}\mac{latfric}\pl{belted l}\smoke{'57}}
  195. \vbox{\pos{'60}\mac{taill}\pl{l with right tail}\smoke{'60}}
  196. \vbox{\pos{'61}\mac{lz}\pl{l-yogh ligature}\smoke{'61}}
  197. \vbox{\pos{'62}\mac{nilambda}\pl{non-italic greek lambda}\smoke{'62}}
  198. \vbox{\pos{'63}\mac{crossnilambda}\pl{crossed lambda}\smoke{'63}}
  199. \vbox{\pos{'64}\mac{labdentalnas}
  200. \pl{m with leftward tail at right}\smoke{'64}}
  201. \vbox{\pos{'65}\mac{invm}\pl{turned m}\smoke{'65}}
  202. \vbox{\pos{'66}\mac{legm}\pl{turned m with long right leg}\smoke{'66}}
  203. \vbox{\pos{'67}\mac{nj}\pl{n with leftward hook at left}\smoke{'67}}
  204. \vbox{\pos{'70}\mac{eng}\pl{eng}\smoke{'70}}
  205. \vbox{\pos{'71}\mac{tailn}\pl{n with right tail}\smoke{'71}}
  206. \vbox{\pos{'72}\mac{scn}\pl{small capital N}\smoke{'72}}
  207. \vbox{\pos{'73}\mac{clickb}\pl{bull's eye}\smoke{'73}}
  208. \vbox{\pos{'74}\mac{baro}\pl{barred o}\smoke{'74}}
  209. \vbox{\pos{'75}\mac{openo}\pl{open o}\smoke{'75}}
  210. \vbox{\pos{'76}\mac{niomega}\pl{non-italic lowercase greek omega}\smoke{'76}}
  211. \vbox{\pos{'77}\mac{closedniomega}\pl{closed omega}\smoke{'77}}
  212. \vbox{\pos{'100}\mac{oo}\pl{double o}\smoke{'100}}
  213. \vbox{\pos{'101}\mac{barp}\pl{barred p}\smoke{'101}}
  214. \vbox{\pos{'102}\mac{thorn}\pl{thorn}\smoke{'102}}
  215. \vbox{\pos{'103}\mac{niphi}\pl{non-italic lowercase greek phi}\smoke{'102}}
  216. \vbox{\pos{'104}\mac{flapr}\pl{fish hook r}\smoke{'104}}
  217. \vbox{\pos{'105}\mac{legr}\pl{r with long leg}\smoke{'105}}
  218. \vbox{\pos{'106}\mac{tailr}\pl{r with right tail}\smoke{'106}}
  219. \vbox{\pos{'107}\mac{invr}\pl{turned r}\smoke{'107}}
  220. \vbox{\pos{'110}\mac{tailinvr}\pl{turned r with right tail}\smoke{'110}}
  221. \vbox{\pos{'111}\mac{invlegr}\pl{turned long-legged r}\smoke{'111}}
  222. \vbox{\pos{'112}\mac{scr}\pl{small capital R}\smoke{'112}}
  223. \vbox{\pos{'113}\mac{invscr}\pl{inverted small capital R}\smoke{'113}}
  224. \vbox{\pos{'114}\mac{tails}\pl{s with right tail}\smoke{'114}}
  225. \vbox{\pos{'115}\mac{esh}\pl{esh}\smoke{'115}}
  226. \vbox{\pos{'116}\mac{curlyesh}\pl{curly-tail esh}\smoke{'116}}
  227. \vbox{\pos{'117}\mac{nisigma}\pl{non-italic lowercase greek sigma}\smoke{'117}}
  228. \vbox{\pos{'120}\mac{tailt}\pl{t with right tail}\smoke{'120}}
  229. \vbox{\pos{'121}\mac{tesh}\pl{t-esh ligature}\smoke{'121}}
  230. \vbox{\pos{'122}\mac{clickt}\pl{turned t}\smoke{'122}}
  231. \vbox{\pos{'123}\mac{nitheta}\pl{non-italic lowercase greek theta}\smoke{'123}}
  232. \vbox{\pos{'124}\mac{baru}\pl{barred u}\smoke{'124}}
  233. \vbox{\pos{'125}\mac{slashu}\pl{slashed u}\smoke{'124}}
  234. \vbox{\pos{'126}\mac{niupsilon}\pl{non-italic lowercase greek
  235.  upsilon}\smoke{'126}}
  236. \vbox{\pos{'127}\mac{scu}\pl{small capital U}\smoke{'127}}
  237. \vbox{\pos{'130}\mac{barscu}\pl{barred small capital U}\smoke{'130}}
  238. \vbox{\pos{'131}\mac{scriptv}\pl{script v}\smoke{'131}}
  239. \vbox{\pos{'132}\mac{invw}\pl{inverted w}\smoke{'132}}
  240. \vbox{\pos{'133}\mac{nichi}\pl{non-italic lowercase greek chi}\smoke{'133}}
  241. \vbox{\pos{'134}\mac{invy}\pl{turned y}\smoke{'134}}
  242. \vbox{\pos{'135}\mac{scy}\pl{small capital Y}\smoke{'135}}
  243. \vbox{\pos{'136}\mac{curlyz}\pl{curly-tail z}\smoke{'136}}
  244. \vbox{\pos{'137}\mac{tailz}\pl{z with right tail}\smoke{'137}}
  245. \vbox{\pos{'140}\mac{yogh}\pl{yogh}\smoke{'140}}
  246. \vbox{\pos{'141}\mac{curlyyogh}\pl{curly-tail yogh}\smoke{'141}}
  247. \vbox{\pos{'142}\mac{glotstop}\pl{glottal stop}\smoke{'142}}
  248. \vbox{\pos{'143}\mac{revglotstop}\pl{reversed glottal stop}\smoke{'143}}
  249. \vbox{\pos{'144}\mac{invglotstop}\pl{inverted glottal stop}\smoke{'144}}
  250. \vbox{\pos{'145}\mac{ejective}\pl{ejective}\smoke{'145}}
  251. \vbox{\pos{'146}\mac{reveject}\pl{reversed ejective}\smoke{'146}}
  252. \vbox{\pos{'147}\mac{dental\#1}\pl{subscript bridge}\smoke{'147}}
  253. \vbox{\pos{'150}\mac{stress}\pl{vertical stroke (superior)}\smoke{'150}}
  254. \vbox{\pos{'151}\mac{secstress}\pl{vertical stroke (inferior)}\smoke{'151}}
  255. \vbox{\pos{'152}\mac{syllabic}\pl{syllabicity mark}\smoke{'152}}
  256. \vbox{\pos{'153}\mac{corner}\pl{corner}\smoke{'153}}
  257. \vbox{\pos{'154}\mac{upt}\pl{IPA pointer}\smoke{'154}}
  258. \vbox{\pos{'155}\mac{downt}\pl{IPA pointer}\smoke{'155}}
  259. \vbox{\pos{'156}\mac{leftt}\pl{IPA pointer}\smoke{'156}}
  260. \vbox{\pos{'157}\mac{rightt}\pl{IPA pointer}\smoke{'157}}
  261. \vbox{\pos{'160}\mac{halflength}\pl{half-length mark}\smoke{'160}}
  262. \vbox{\pos{'161}\mac{length}\pl{length mark}\smoke{'161}}
  263. \vbox{\pos{'162}\mac{underdots}\pl{subscript umlaut}\smoke{'162}}
  264. \vbox{\pos{'163}\mac{ain}\pl{reversed apostrophe}\smoke{'163}}
  265. \vbox{\pos{'164}\mac{upp}\pl{pointer}\smoke{'164}}
  266. \vbox{\pos{'165}\mac{downp}\pl{pointer}\smoke{'165}}
  267. \vbox{\pos{'166}\mac{leftp}\pl{pointer}\smoke{'166}}
  268. \vbox{\pos{'167}\mac{rightp}\pl{pointer}\smoke{'167}}
  269. \vbox{\pos{'170}\mac{overring}\pl{over-ring}\smoke{'170}}
  270. \vbox{\pos{'171}\mac{underring}\pl{under-ring}\smoke{'171}}
  271. \vbox{\pos{'172}\mac{open}\pl{subscript left half-ring}\smoke{'172}}
  272. \vbox{\pos{'173}\mac{midtilde}\pl{superimposed (mid-) tilde}\smoke{'173}}
  273. \vbox{\pos{'174}\mac{undertilde}\pl{subscript tilde}\smoke{'174}}
  274. \vbox{\pos{'175}\mac{underwedge}\pl{subscript wedge}\smoke{'175}}
  275. \vbox{\pos{'176}\mac{polishhook}\pl{polish hook}\smoke{'176}}
  276. \vbox{\pos{'177}\mac{underarch}\pl{subscript arch}\smoke{'177}}
  277. \newpage
  278. \normalbottom
  279. \subheada{Using the IPAMACS Macros}
  280. In addition to the necessary font-related files, the \wsu\  font package
  281. also includes a file called IPAMACS.TEX. This is a macro file which includes
  282. font declarations and definitions for use with the \wsu\  fonts.
  283. It also contains macro definitions for accessing each \wsu\  character
  284. mnemonically, as well as some macro definitions
  285. to simplify using \wsu\  accents and diacritics with Computer Modern
  286. characters and vice versa.
  287. Before you can use any of the macros from the \ipam\ file, you must input the
  288. {\tt IPAMACS.TEX} file by entering,
  289. \\input ipamacs
  290. \nin at the top of your \TeX\ file. This assumes, of course, that you have
  291. installed this file.
  292. The \ipam\ file defines a font called
  293. \\ipa to be the twelve point roman \wsu\
  294. font. The \\ipa font is used in all the macro definitions in \ipam\
  295.  to access the
  296. characters from the \wsu\ font. You may redefine \\ipa, say to be ten point
  297. roman, by entering
  298. \\font\\ipatenrm=wsuipa10
  299. \\def\\ipa\{\\ipatenrm\}
  300. \nin within your file. From that point on, all the \wsu\ characters accessed by
  301. using the \ipam\ macros will be the ten-point roman \wsu.
  302. To access individual \wsu\ characters within sentences set in Computer Modern,
  303. you need only to enter the \\ipa command. For example,
  304. \asisbegin
  305. A shibilant is a term occasionally found for a fricative
  306. corresponding to
  307. a ``hushing'' sound, e.g., IPA [\\esh] (more technically,
  308. a grooved laminal fricative).
  309. \asisend
  310. \nin which will print as:
  311. \vs{5pt}
  312. A shibilant is a term occasionally found for a fricative
  313. corresponding to
  314. a ``hushing'' sound, e.g., IPA [\esh] (more technically,
  315. a grooved laminal fricative).
  316. \vs{5pt}
  317. The \ipam\ character macros are defined so they can be used with the CM
  318. characters and accents without the need for delimiting curly braces. By using
  319. the \ipam\
  320. definitions, you can use the CM accents with a \wsu\ character in the
  321. same way you would accent a CM character. The following input
  322. \asisbegin
  323. The superscript tilde is a nasalization marker for vowels,
  324. thus [\\\tilde\\scripta] is a nasalized [\\scripta].
  325. \asisend
  326. \nin will print as:
  327. \vs{5pt}
  328. \pb{The superscript tilde is a nasalization marker for vowels, thus
  329. [\~\scripta] is a nasalized [\scripta].
  330. \vs{5pt}
  331. The \wsu\ accents can be used with CM characters. However, only the \wsu\
  332. ``\\dental'' and ``\\underarch'' have been defined in \ipam\ and both are
  333. diacritics which go under a character.
  334. To use any other \wsu\ character as an accent either with a CM character or with
  335. another \wsu\ character, you can define the \wsu\ accent
  336. in the same way that the CM accents are defined. For example, an ``over-ring''
  337. accent could be defined as,
  338. \asisbegin
  339. \\def\\or\#1\{\{\\edef\\next\{\\the\\font\}\%
  340.           \\ipatwelverm\\accent"78\\next\#1\}\}
  341. \nin and may be used like,
  342. The over-ring may be used over letters with descenders as an
  343. alternative to under-ring to indicate devoicing, e.g. [\\or g].
  344. \asisend
  345. \nin which will print as:
  346. \vs{5pt}
  347. \pb{\def\or#1{{\edef\next{\the\font}%
  348.           \ipatwelverm\accent"78\next#1}}
  349. The over-ring may be used over letters with descenders as an
  350. alternative to under-ring to indicate devoicing, e.g. [\or g].}
  351. \vs{5pt}
  352. Most of the \wsu\ diacritics are intended to go under characters, like the
  353. ``underarch'' and ``dental'' mentioned above. You may define other ``under''
  354. accents in the same way as these two. For example, an ``undercircle''
  355. could be defined as,
  356. \asisbegin
  357. \\def\\undercirc\#1\{\\oalign\{\#1\\crcr
  358.                  \\hidewidth\\underring\\hidewidth\}\}
  359. \asisend
  360. \nin With this definition, the input
  361. A voiceless trilled r [\\undercirc r] in
  362. certain Scottish dialects\el3
  363. \nin will print as:
  364. \vs{5pt}
  365. \pb{\def\undercirc#1{\oalign{#1\crcr\hidewidth\underring\hidewidth}}
  366. A voiceless trilled r [\undercirc r] in certain Scottish dialects\el3
  367. \vs{5pt}
  368. If the spacing or placement of the diacritic is not exactly what you desire
  369. with the basic definition given above, you can add kerns where needed.
  370. For example, if you want less space between the ``undercircle'' and
  371. the character, you could change the definition to be,
  372. \asisbegin\lin{-10pt}
  373. \\def\\undercirc\#1\{\\oalign\{\#1\\crcr
  374.            \\hidewidth\\raise.1ex\\hbox\{\\underring\}\\hidewidth\}\}
  375. \asisend
  376. \nin and this input
  377. A voiceless trilled r [\\undercirc r] in
  378. certain Scottish dialects\el3
  379. \nin will print as:
  380. \vs{5pt}
  381. \pb{\def\undercirc#1{\oalign{#1\crcr\hidewidth
  382. \raise.1ex\hbox{\underring}\hidewidth}}
  383. A voiceless trilled r [\undercirc r] in certain Scottish dialects\el3
  384. \vs{5pt}
  385. Your diacritic definitions may be as general or specific as you wish. At one
  386. institution which uses the \wsu\ fonts, they prefer the ``undercircle'' to be
  387. placed differently when it falls under an r than any other character. To
  388. accomplish this, they use the following definition for \\undercirc.
  389. \aib\lin{-10pt}
  390. \\def\\undercirc\#1\{\\ifx\#1r
  391.       \\oalign\{\#1\\crcr\\hidewidth\\kern.24em\\underring
  392.             \\hidewidth\\crcr\}
  393.       \\else\\oalign\{\#1\\crcr
  394.             \\hidewidth\\raise.1ex\\hbox\{\\underring\}\\hidewidth\}
  395.                       \\fi\}
  396. With this definition of \\undercirc, the following input
  397. To illustrate the different placement of the \\underring on
  398. an \\undercirc s and on an \\undercirc r.
  399. \nin will print as
  400. \vs{5pt}
  401. \pb{\def\undercirc#1{\ifx#1r
  402.      \oalign{#1\crcr\hidewidth\kern.24em\underring\hidewidth\crcr}\fi}
  403. To illustrate the different placement of the \\underring on an \\undercirc s
  404. and on an \undercirc r.
  405. \vs{5pt}
  406. \ipam\
  407. also includes a macro called \\diatop which provides an alternative way
  408. of getting one or more characters, accents, or diacritics over one another. The
  409. \\diatop macro takes one argument which is delimited by square brackets ([])
  410. rather than curly braces, and has two parts. The first part of the
  411. argument is delimited, or separated, from the second part by a vertical bar
  412. ($\vert$). \\diatop puts the first part of the argument over the second.
  413. Using \\diatop instead of our previous definition for the ``overring,'' (\\or)
  414. you could input,
  415. The overring may be used over letters with descenders as
  416. an alternative to
  417. under-ring to indicate devoicing, e.g. [\\diatop[\\overring$\vert$g]].
  418. \nin and the output would be,
  419. \vs{5pt}
  420. \pb{The overring may be used over letters with descenders as an alternative to
  421. under-ring to indicate devoicing, e.g. [\diatop[\overring|g]].
  422. \vs{5pt}
  423. More than one character can be stacked over another character by using
  424. \\diatop. For example,
  425. \asisbegin
  426. For a really special \\diatop[\{\\diatop\{\\'$\|$\\overring]\}$\|$n]
  427. \asisend
  428. \nin will print as:
  429. \vs{5pt}
  430. \pb{For a really special \diatop[{\diatop[\'|\overring]}|n]
  431. \vs{5pt}
  432. \nin Notice the use of curly braces to group the argument of the first \\diatop
  433. when more than one \\diatop command is used.
  434. It is also possible to get one or more accents over a character and another
  435. accent or character under it. Assuming that \\undercirc has been defined as
  436. described earlier, the following example
  437. \asisbegin\lin{-10pt}
  438. This is a really, really special
  439. \\diatop[\\overring$\|$\\undercirc\{r\}]
  440. \asisend
  441. \nin will print as:
  442. \vs{5pt}
  443. \pb{\def\undercirc#1{\oalign{#1\crcr\hidewidth\underring\hidewidth}}
  444. This is a really, really special \diatop[\overring|\undercirc{r}]
  445. \vs{5pt}
  446. The \ipam\ do not sent up the \wsu\ fonts to be part of a font family
  447. definition, which means that any \wsu\ character that is accessed by
  448. an \ipam\
  449. macro, will always print out in the same font (wsuipa12, by default),
  450. regardless of what size or typeface you may have been using when
  451. the \ipam\
  452. macro was called. In other words, whatever font \\ipa is defined to be,
  453. determines the font \ipam\ will call.
  454. In order to get slanted \wsu\ characters when \\it or \\sl is being used, or
  455. bold \wsu\ characters when \\bf is being used, you must include the definition
  456. of \\ipa as part of your font family definitions.
  457. Without redefining \\ipa, the following input,
  458. \aib\lin{0pt}
  459. \\dots which is the case in the aforementioned
  460. instances, however, \{\\bf this
  461. does not preclude the other retroflex consonants:
  462. [\\nj], [\\taill], [\\taild], and [\\tailr]\}.
  463. \nin will print as,
  464. \vs{5pt}
  465. \pb{\dots which is the case in the aforementioned instances, however, {\bf this
  466. does not preclude the other retroflex consonants: [\nj], [\taill], [\taild],
  467. and [\tailr]}.
  468. \vs{5pt}
  469. Now, with \\ipa defined within the twelve-point font family, as illustrated
  470. below
  471. \aib\lin{-10pt}
  472. \\font\\twelverm=cmr12
  473. \\font\\twelvei=cmmi12
  474. \\font\\twelvesy=cmsy12
  475. \\font\\twelveex=cmex12
  476. \\font\\twelveit=cmti12
  477. \\font\\twelvebf=cmbx12
  478. \\font\\twelveipa=wsuipa12
  479. \\font\\twelveslipa=wslipa12
  480. \\font\\twelvebfipa=wbxipa12
  481. \\def\\twelvepoint\{\%
  482.   \\textfont0=\\twelverm
  483.       \\scriptfont0=\\sevenrm  \\scriptscriptfont0=\\sevenrm
  484.   \\def\\rm\{\\fam0\\twelverm\\def\\ipa\{\\twelvermipa\}\}\%
  485.   \\textfont1=\\twelvei
  486.   \\scriptfont1=\\sevenrm  \\scriptscriptfont1=\\sevenrm
  487.   \\textfont2=\\twelvesy
  488.   \\scriptfont2=\\sevensy   \\scriptscriptfont2=\\sevensy
  489.   \\textfont3=\\twelveex
  490.   \\scriptfont3=\\twelveex  \\scriptscriptfont3=\\twelveex
  491.   \\textfont\\itfam=\\twelveit
  492.   \\def\\it\{\\fam\\itfam\\twelveit\\def\\ipa\{\\twelveslipa\}\}\%
  493.   \\textfont\\bffam=\\twelvebf
  494.   \\def\\bf\{\\fam\\bffam\\twelvebf\\def\\ipa\{\\twelvebfipa\}\}\%
  495.   \\rm\}\%
  496. \\twelvepoint
  497. \nin the previous input of
  498. \aib\lin{0pt}
  499. \\dots which is the case in the aforementioned
  500. instances, however, \{\\bf this
  501. does not preclude the other retroflex consonants:
  502. [\\nj], [\\taill], [\\taild], and [\\tailr]\}.
  503. \nin will print as,
  504. \vs{5pt}
  505. \pb{\font\twelvebfipa=wbxipa12\font\twelvebf=cmbx12\def\bf{\fam\bffam\twelvebf
  506. \def\ipa{\twelvebfipa}}%
  507. \dots which is the case in the aforementioned instances, however, {\bf this
  508. does not preclude the other retroflex consonants: [\nj], [\taill], [\taild],
  509. and [\tailr]}.
  510. \parindent 0pt
  511. \twelvept
  512. % macros for font tables
  513. \def\oct#1{\hbox{\rm\'{}\kern-.1em\it#1\/\kern.05em}}
  514. \def\hex#1{\hbox{\rm\H{}\tt#1}} % hexadecimal constant
  515. \abovedisplayskip=3pt\belowdisplayskip=2pt
  516. \font\smalltextfont=cmr7
  517. \newcount\fontcount
  518. \newbox\charbox
  519. \def\oddline#1{\cr
  520.   \noalign{\nointerlineskip}
  521.   \multispan{19}\hrulefill&
  522.   \setbox\charbox=\hbox{\lower 2.3pt\hbox{\hex{#1x}}}
  523.                        \smash{\box\charbox}\cr
  524.                         \noalign{\nointerlineskip}}
  525. \def\evenline{\cr\noalign{\hrule}}
  526. \def\chartstrut{\lower3.5pt\vbox to14pt{}}
  527. \def\beginchart#1{ \global\fontcount=0 #1
  528.   \halign to\hsize\bgroup
  529.     \chartstrut##\tabskip0pt plus10pt&
  530.     &\hfil##\hfil&\vrule##\cr
  531.     \lower6.5pt\null
  532.     &&&\oct0&&\oct1&&\oct2&&\oct3&&\oct4&&\oct5&&\oct6&&\oct7&\evenline}
  533. \def\endchart{\raise11.5pt\null&&&\hex 8&&\hex 9&&\hex A&&\hex B&
  534.   &\hex C&&\hex D&&\hex E&&\hex F&\cr\egroup}
  535. \def\:{\setbox\charbox=%\drawbox{
  536. \hbox{\char\fontcount
  537. %\llap{\vrule height.4pt width5pt depth0pt} %this will draw line at baseline
  538.   \ifdim\ht\charbox>7.5pt\reposition
  539.   \else\ifdim\dp\charbox>2.5pt\reposition
  540.   \else\ifdim\wd\charbox>0pt
  541.        \ifdim\ht\charbox<.01pt
  542.        \ifdim\dp\charbox<.01pt\unposition\fi\fi\fi\fi\fi
  543.   \box\charbox\global\advance\fontcount by1 }
  544. \def\reposition{}%\setbox\charbox=\hbox{$\vcenter{\kern2pt
  545. %                                 \box\charbox\kern2pt}$}}
  546. \def\unposition{\setbox\charbox=\hbox{\smalltextfont undef}}
  547. \def\normalchart{%
  548.   &\oct{00x}&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\oddline0
  549.   &\oct{01x}&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&\evenline
  550.   &\oct{02x}&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\oddline1
  551.   &\oct{03x}&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&\evenline
  552.   &\oct{04x}&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\oddline2
  553.   &\oct{05x}&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&\evenline
  554.   &\oct{06x}&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\oddline3
  555.   &\oct{07x}&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&\evenline
  556.   &\oct{10x}&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\oddline4
  557.   &\oct{11x}&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&\evenline
  558.   &\oct{12x}&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\oddline5
  559.   &\oct{13x}&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&\evenline
  560.   &\oct{14x}&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\oddline6
  561.   &\oct{15x}&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&\evenline
  562.   &\oct{16x}&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\oddline7
  563.   &\oct{17x}&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&\evenline}
  564. \font\chartfont=wsuipa12
  565. {\tt WSUIPA12\bi--- WSU International Phonetic Alphabet Roman -- 12pt}
  566. \beginchart{\chartfont}
  567. \normalchart
  568. \endchart
  569. \vfill
  570. \font\newchartfont=wslipa12
  571. {\tt WSLIPA12\bd---WSU International Phonetic Alphabet Slanted -- 12pt}
  572. \beginchart{\newchartfont}
  573. \normalchart
  574. \endchart
  575. \font\nchartfont=wbxipa12
  576. {\tt WBXIPA12\bi---WSU International Phonetic Alphabet Bold Extended
  577. -- 12pt}
  578. \beginchart{\nchartfont}
  579. \normalchart
  580. \endchart
  581. \vfill
  582. \font\nwchartfont=wsuipa9
  583. {\tt WSUIPA9\bi---WSU International Phonetic Alphabet Roman -- 9pt}
  584. \beginchart{\nwchartfont}
  585. \normalchart
  586. \endchart
  587.